package core

const (
	serviceSelfName = "jkimgproc"
)

// ImgProcProcess Core handler of program
type ImgProcProcess struct {
	iot *ImgProcHandler
}

// StartProgram Startup
func StartProgram(addr string, port int) error {
	ipp := &ImgProcProcess{}
	var err error
	ipp.iot, err = NewSysClientIoT(addr, port)
	if err != nil {
		return err
	}
	return nil
}
